//
//  LoginService.h
//  SAILIN
//
//  Created by 崔国冠 on 2018/10/19.
//  Copyright © 2018年 赛麟. All rights reserved.
//

#import "NIBaseService.h"
#import "LoginObject.h"
#import "NIResultObject.h"
@interface NILoginService : NIBaseService
/**
 手机号密码登录
 
 @param phoneNum 手机号
 @param password 密码
 @param deviceId 设备推送token
 @param success 成功
 @param failure 失败
 */
- (void)loginWithPhoneNum:(NSString *)phoneNum password:(NSString *)password deviceId:(NSString *)deviceId success:(void (^)(LoginObject* loginObject))success
                  failure:(void (^)(NIResultObject * result))failure;
@end
